package com.skhu.as.service;

import com.skhu.as.dao.FaultHandlingD;
import com.skhu.as.dao.PresentConditionD;
import com.skhu.as.domain.PresentCondition;

public class PresentConditionS {

	private PresentConditionD presentConditionD;

	public void setPresentConditionD(PresentConditionD presentConditionD) {
		this.presentConditionD = presentConditionD;
	}
	
	public int getPresentConditionMaxNo(){
		return presentConditionD.getPresentConditionMaxNo();
	}
	
	public int insertPresentCondition(PresentCondition presentCondition){
		return presentConditionD.insertPresentCondition(presentCondition);
	}
	
	public int deletePresentCondition(int presentConditionNo){
		return presentConditionD.deletePresentCondition(presentConditionNo);
	}
	
}
